package com.java.work01.service;

public class LoginServiceImpl {
    public boolean login(String username,String password) {
        //假设从数据库中查出的用户名为root，密码为1234
        return "root".equals(username)&&"1234".equals(password);
    }
}
